import { get, post } from "../httpRequest/api";


export const banner_list = async () => {
	return await get("/banner/list");
};

export const CategoryList = async() => {
  return await get('/category/list');
};

export const ByCategoryList = async(categoryId) => {
  return await get(`/wallpaper/listByCategory/${categoryId}`);
};

export const CollectionsList = async() => {
  return await get('/wallpaper/collections');
};

export const WallpaperDetail = async(id) => {
  return await get(`/wallpaper/detail/${id}`);
};